package gm

import (
	"go_server/game_server/api/service"
	"go_server/zinx/ziface"
)

type gmService struct {
	service.AbsService
	gmCommand *gmCommandApi
}

var (
	serviceObj *gmService
)

func init() {
	serviceObj = &gmService{
		gmCommand: &gmCommandApi{},
	}
}

func GetGmCommandApi() ziface.IRouter{
	return serviceObj.gmCommand
}

func (s *gmService) GetModuleName() string {
	return "gm"
}
